package com.dhcc.sds.standard.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.dhcc.core.framework.base.entity.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@TableName("t_sds_std_contrast_log")
public class SdsStandDataContrastLogEntity extends BaseEntity<SdsStandDataContrastLogEntity> {

    private static final long serialVersionUID = 1L;

    // 数据源ID
    private Long dataId;
    // 数据字典ID
    private Long dicId;
    // 操作类型
    private Integer operaType;
    // 操作时间
    @DateTimeFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private Date operaTime;
    // 操作人
    private String operaName;
    // 数据源名称
    @TableField(exist = false)
    private String sourceDesc;
    // 字典名称
    @TableField(exist = false)
    private String name;


    public Long getDataId() {
        return dataId;
    }

    public void setDataId(Long dataId) {
        this.dataId = dataId;
    }

    public Long getDicId() {
        return dicId;
    }

    public void setDicId(Long dicId) {
        this.dicId = dicId;
    }

    public Integer getOperaType() {
        return operaType;
    }

    public void setOperaType(Integer operaType) {
        this.operaType = operaType;
    }

    public Date getOperaTime() {
        return operaTime;
    }

    public void setOperaTime(Date operaTime) {
        this.operaTime = operaTime;
    }

    public String getOperaName() {
        return operaName;
    }

    public void setOperaName(String operaName) {
        this.operaName = operaName;
    }

    public String getSourceDesc() {
        return sourceDesc;
    }

    public void setSourceDesc(String sourceDesc) {
        this.sourceDesc = sourceDesc;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
